package edu.hit.pact.pgse.crawler.bbs;

import java.util.ArrayList;

import edu.hit.pact.pgse.bean.TaskPiece;

public class BBSTaskPiece extends TaskPiece{

	private static final long serialVersionUID = 1L;
	private BBSUnit bbsUnit = null;
	
	public BBSTaskPiece(Long id){
		super(id);
	}
	
	public BBSTaskPiece(Long id, BBSUnit bbsUnit) {
		super(id);
		this.bbsUnit = bbsUnit;
	}

	
	public BBSUnit getBbsUnit() {
		return bbsUnit;
	}
	public void setBbsUnit(BBSUnit bbsUnit) {
		this.bbsUnit = bbsUnit;
	}

	@Override
	public String toString() {
		return "BBSTaskPiece [bbsUnits=" + bbsUnit + "]";
	}

}
